package com.hangim.pce.common.search.service;

import com.hangim.pce.common.web.WebRequestContext;
import org.springframework.data.domain.Page;

/**
 * ElasticSearch搜索服务
 *
 * @author SunLearning
 */
public interface ESSearchService {

    /**
     * 全文搜索
     *
     * @param context
     * @param typeName
     * @return
     */
    Page search(WebRequestContext context, String typeName);
}
